<a class="btn btn-danger btn-lg btn-block"
[routerLink]="['/']" (click)="logout()">退出</a>